/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 *  KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */


#ifndef CELIX_HTTP_ADMIN_CONSTANTS_H
#define CELIX_HTTP_ADMIN_CONSTANTS_H

#define HTTP_ADMIN_USE_WEBSOCKETS_KEY           "CELIX_HTTP_ADMIN_USE_WEBSOCKETS"
#define HTTP_ADMIN_USE_WEBSOCKETS_DFT           true

#define HTTP_ADMIN_LISTENING_PORTS_KEY          "CELIX_HTTP_ADMIN_LISTENING_PORTS"
#define HTTP_ADMIN_LISTENING_PORTS_DFT          8080L

#define HTTP_ADMIN_WEBSOCKET_TIMEOUT_MS_KEY     "CELIX_HTTP_ADMIN_WEBSOCKET_TIMEOUT_MS"
#define HTTP_ADMIN_WEBSOCKET_TIMEOUT_MS_DFT     3600000L

#define HTTP_ADMIN_PORT_RANGE_MIN_KEY           "CELIX_HTTP_ADMIN_PORT_RANGE_MIN"
#define HTTP_ADMIN_PORT_RANGE_MIN_DFT           8000L

#define HTTP_ADMIN_PORT_RANGE_MAX_KEY           "CELIX_HTTP_ADMIN_PORT_RANGE_MAX"
#define HTTP_ADMIN_PORT_RANGE_MAX_DFT           9000L

#define HTTP_ADMIN_NUM_THREADS_KEY              "CELIX_HTTP_ADMIN_NUM_THREADS"
#define HTTP_ADMIN_NUM_THREADS_DFT              1L


#endif //CELIX_HTTP_ADMIN_CONSTANTS_H
